class AutoComplete::AlbumsController < ApplicationController
  def index
    @albums = Album.all :conditions => [
      'name like ? and author_id = ?',
      "%#{params[:name]}%", current_valleyer.id
    ],
      :order => 'name asc'
  end

  def authorize

  end
end
